﻿using System;
using System.Collections.Generic;
using System.Text;
using Slwy.FrameCore.Dependency;
using SqlSugar;

namespace Slwy.Data.Entity.Interfaces
{
    public interface IEditRepository<TEntity, TKey> : IBaseRepository<TEntity>
        where TEntity : class, IEntityEdit<TKey>, new()
    {
        IUpdateable<TEntity> Recycle(IList<TKey> keys, string modifyUser);
        IUpdateable<TEntity> Recycle(TKey key, string modifyUser);
        IUpdateable<TEntity> Recycle(TKey[] keys, string modifyUser);
    }
}
